package com.mutual.system.role.service.impl;

import java.io.Serializable;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mutual.system.role.dao.RoleDao;
import com.mutual.system.role.pojo.Role;
import com.mutual.system.role.service.RoleService;

@Service("roleService")
public class RoleServiceImpl implements RoleService {

	@Resource
	private RoleDao roleDao;
	
	@Override
	public List<Role> findAll() {
		return roleDao.findAll();
	}

	@Override
	public void insert(Role entity) {
		
	}

	@Override
	public void updateByPrimaryKey(Role entity) {
		
	}

	@Override
	public Role selectByPrimaryKey(Serializable entityid) {
		return roleDao.selectByPrimaryKey(entityid);
	}

}
